#ifndef SCENE_H
#define SCENE_H

#include "eagle.h"
#include "player.h"
#include "bullet.h"
#include "decor.h"
#include "enemy.h"
#include "resman.h"

#include "efect.h"
#include "tank.h"

#define MAX_NAME_PIX    140

class Scene
{
	public:
		Scene();
		virtual ~Scene();


		i32 LoadFromFile ( i32 stage_num );     // files stage-X.ppq & stage-X.dsc
		i32 SetupDefaultStage();
		i32 CleanupStage();

		i32 DrawStage();

		TTF_Font *_big;
		TTF_Font *_med;
		TTF_Font *_sml;
		SDL_Surface *_screen;
		Sprite *_sprites;

		i32 score_1p, score_2p;
		i32 hits_1p, hits_2p;
		i32 life_1p, life_2p;

		string _stage_title;
		string _name_1p, _name_2p;

		Tank *p1,*p2;
		i32 *mousex,*mousey;
	protected:

		i32 RenderHUD();

		vector<Object *> _objects;

		Efect *fx;

		void test();

	private:
};

#endif // SCENE_H
